import unittest

from HTMLTestRunner import HTMLTestRunner

if __name__ == '__main__':
    suite = unittest.defaultTestLoader.discover("./scripts", pattern="test*.py")
    runner = unittest.TextTestRunner()
    runner.run(suite)
    # with open("./report/report.html", "wb") as f:
    #     HTMLTestRunner(f, 2, "京东搜索测试报告", "浏览器:Chrome 系统:win10").run(suite)


